using System;using System.Data;using System.Data.SqlClient;using System.Collections.Generic;namespace MyWeb.Data{	public class Tabs	{		#region[Declare variables]		private string  _Id;		private string  _Name;		private string  _Tag;		private string  _IsDownloads;		private string  _Active;		private string  _Lang;		#endregion		#region[Public Properties]		public string Id{ get { return _Id; } set { _Id = value; } }		public string Name{ get { return _Name; } set { _Name = value; } }
        public string Tag { get { return _Tag; } set { _Tag = value; } }		public string IsDownloads{ get { return _IsDownloads; } set { _IsDownloads = value; } }		public string Active{ get { return _Active; } set { _Active = value; } }		public string Lang{ get { return _Lang; } set { _Lang = value; } }		#endregion		#region[Tabs IDataReader]		public Tabs TabsIDataReader(IDataReader dr)		{			Data.Tabs obj = new Data.Tabs();			obj.Id = (dr["Id"] is DBNull) ? string.Empty : dr["Id"].ToString();			obj.Name = (dr["Name"] is DBNull) ? string.Empty : dr["Name"].ToString();
            obj.Tag = (dr["Tag"] is DBNull) ? string.Empty : dr["Tag"].ToString();			obj.IsDownloads = (dr["IsDownloads"] is DBNull) ? string.Empty : dr["IsDownloads"].ToString();			obj.Active = (dr["Active"] is DBNull) ? string.Empty : dr["Active"].ToString();			obj.Lang = (dr["Lang"] is DBNull) ? string.Empty : dr["Lang"].ToString();			return obj;		}		#endregion	}}